package com.cgtong.android.mvp.contract;

import com.zhouyou.http.callback.SimpleCallBack;
import com.zhouyou.http.model.ApiResult;

import java.util.List;

/**
 * Created by Tinwai on 2017/10/25.
 */
public interface SignContract {
    interface Model {
        void sign(SimpleCallBack<List<ApiResult>> callBack);
        void getSignInfo(String date, SimpleCallBack<List<String>> callBack);
    }

    interface View {
        void signSuccess();
        void signFail(String msg);
        void getSignList(List<String> list);
    }

    interface Presenter {
        void sign();
        void getSignInfo(String date);
    }
}
